<template>
	<view>
		<slot></slot>
	</view>
</template>

<script setup>
import {onUnmounted} from "vue"
onUnmounted(()=>{
	console.log("子组件别卸载了");
})

</script>

<style lang="scss" scope>
view {
	border: 1px solid rgb(228, 225, 225);
}
</style>